package com.cyj.dream.swagger.annotation;

import com.cyj.dream.swagger.config.GatewaySwaggerAutoConfiguration;
import com.cyj.dream.swagger.config.SwaggerAutoConfiguration;
import com.cyj.dream.swagger.support.SwaggerProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @Description: 开启 dream swagger
 * @BelongsProject: DreamChardonnay
 * @BelongsPackage: com.cyj.dream.swagger.annotation
 * @Author: ChenYongJia
 * @CreateTime: 2021-09-27GatewaySwaggerAutoConfiguration
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableConfigurationProperties(SwaggerProperties.class)
@Import({SwaggerAutoConfiguration.class, GatewaySwaggerAutoConfiguration.class})
public @interface EnableDreamSwagger2 {

}
